//
//  UIImageView+Download.h
//  Budejie
//
//  Created by 远成物流 on 2017/5/25.
//  Copyright © 2017年 陈梦佳. All rights reserved.
//

#import <UIKit/UIKit.h>
#import <SDWebImage/UIImageView+WebCache.h>

@interface UIImageView (Download)


/**
 设置用户头像

 @param url 图片地址
 */
-(void)setImageWithUrl:(NSString *)url;


/**
 下载图片

 @param originalImg 原图
 @param thumbnailImg 缩略图
 @param placeholderImg 占位图
 @param completed 图片下载完成触发
 */
-(void)setOriginalImage:(NSString *)originalImg thumbnailImage:(NSString *)thumbnailImg placeholderImage:(UIImage *)placeholderImg completed:(SDExternalCompletionBlock)completed;

@end
